/*
 * 
 * Copyright (C) 2010-2012 Wilfried Elmenreich, Anita Sobe 
 * This file is part of VideoNetwork.
 * 
 * VideoNetwork is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. 
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 
 * You should have received a copy of the GNU General Public License along with this program; if not, see <http://www.gnu.org/licenses/>. 
 */

package consumer;

/**
 * Gives a statistic on the total viewings and the number of currently open
 * viewing requests First element of vector: total number of viewings (inkl.
 * request) Second element: total number of active viewings Third element: total
 * number of requested viewings
 */
public class ViewingCount {

	private int requested;
	private int active;
	private int total;
	private double fulfilled;

	public ViewingCount(int requested, int active, int total, double fulfilled) {

		this.requested = requested;
		this.active = active;
		this.total = total;
		this.fulfilled = fulfilled;

	}

	public int getRequested() {
		return requested;
	}

	public int getActive() {
		return active;
	}

	public int getTotal() {
		return total;
	}

	public double getFulfilled() {
		return fulfilled;
	}

}
